﻿import QtQuick 2.0

Image {
    id: img
    //图路径
    source: "qrc:/meng.png"
    //定义信号
    signal clicked()

    MouseArea{
        anchors.fill: parent
        onClicked: img.clicked()
    }
}

